package com.zhangjianling.lesson_02;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
public class Lesson02Application {

    public static void main(String[] args) {
        //SpringApplication.run(Lesson02Application.class,args);
        SpringApplication sa = new SpringApplication(Lesson02Application.class);
        //关闭Banner
        sa.setBannerMode(Banner.Mode.OFF);
        sa.run(args);
    }

}
